package com.fgxia.user.service;

import com.fgxia.user.domain.bo.UserInvoiceInfoBo;
import com.fgxia.user.domain.vo.OrderInvoiceVo;
import com.fgxia.user.domain.vo.UserInvoiceInfoVo;
import com.ruoyi.business.domain.InvoiceInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.transaction.annotation.Transactional;

/**
 * description
 *
 * @author yyt
 */
public interface IInvoiceInfoService {
    TableDataInfo<OrderInvoiceVo> selectInvoiceOrderByUserId(Long relevanceUserId, PageQuery pageQuery);

    TableDataInfo<UserInvoiceInfoVo> selectInvoicedByUserId(Long relevanceUserId, PageQuery pageQuery);

    Boolean createInvoices(UserInvoiceInfoBo userInvoiceInfoBo);

    UserInvoiceInfoVo selectOne(InvoiceInfo invoiceInfo);
}
